# $Id: PKGBUILD 84842 2013-02-25 10:39:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: hydro <hydro@freenet.de>

pkgname=mediainfo
pkgver=0.7.62
pkgrel=1
pkgdesc="supplies technical and tag information about a video or audio file"
arch=('i686' 'x86_64')
url="http://mediainfo.sourceforge.net"
license=('GPL')
depends=('libmediainfo')
makedepends=('libtool' 'automake' 'autoconf')
source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2)
md5sums=('a9a8bc398cc5d2ca8723fae024f6e891')

build() {
  cd $srcdir/MediaInfo/Project/GNU/CLI
  sh ./autogen
  ./configure --prefix=/usr
  make
}
package() {
  cd $srcdir/MediaInfo/Project/GNU/CLI
  make DESTDIR=$pkgdir install
}
